Piwik\Db B

Total Complexity 92
Dependencies 12
Dependents 96
Total lines 816
Lines of code 325
Logical lines of code 191
Comment lines 350
Methods 35
Properties 4

Methods 35

Method Rating Maintainability Complexity Lines of code
optimizeTables()
A
49 11 31
segmentedFetchFirst()
S
59 6 13
lockTables()
S
58 5 16
getDbLock()
S
58 4 15
segmentedFetchAll()
S
58 4 15
segmentedQuery()
S
60 4 13
segmentedFetchOne()
S
60 4 13
logExtraInfoIfDeadlock()
S
60 4 12
isLockPrivilegeGranted()
S
62 3 12
deleteAllRows()
S
61 3 11
isOptimizeInnoDBSupported()
S
62 3 11
get()
S
67 3 9
destroyDatabaseObject()
S
66 3 10
logSql()
S
66 3 8
getReader()
S
67 3 9
exec()
S
59 2 14
createReaderDatabaseObject()
S
59 2 14
getDatabaseConfig()
S
64 2 9
fetchAll()
S
65 2 9
query()
S
65 2 9
dropTables()
S
69 2 6
fetchAssoc()
S
65 2 9
fetchOne()
S
65 2 9
fetchRow()
S
65 2 9
dropAllTables()
S
76 1 4
unlockAllTables()
S
79 1 3
getTableStatus()
S
80 1 3
hasDatabaseObject()
S
79 1 3
hasReaderConfigured()
S
75 1 4
createDatabaseObject()
S
72 1 5
setDatabaseObject()
S
80 1 3
releaseDbLock()
S
72 1 5
enableQueryLog()
S
80 1 3
isQueryLogEnabled()
S
80 1 3
hasReaderDatabaseObject()
S
79 1 3